﻿package mortal.game.scene3D.map3D.AstarAnyDirection.data
{

    public class AstarTurnPoint extends Vector2f
    {
        public var distance:Number;
        public var parent:AstarTurnPoint;
        public var value:int;
        public var isJump:Boolean = false;

        public function AstarTurnPoint()
        {
            return;
        }// end function

        public function setValue(param1:Number, param2:Number) : void
        {
            _x = param1;
            _y = param2;
            return;
        }// end function

        public function from(param1:Vector2f) : void
        {
            this._x = param1._x;
            this._y = param1._y;
            return;
        }// end function

        public function toString() : String
        {
            return int(_x) + "," + int(_y);
        }// end function

    }
}
